////
//// Created by zhanxh on 25-5-6.
////
//
//#ifndef UI_H
//#define UI_H
//
//#include <gtk/gtk.h>
//#include <string>
//
//// 安全更新歌词的回调结构
//typedef struct {
//    gpointer track;
//    std::string past;
//    std::string present;
//    std::string future;
//    std::string padding;
//} lyric_update_data;
//
//
//
//bool isValidHexaCode(const std::string str);
//
//void set_lyrics(gpointer track, std::string past, std::string present, std::string future, std::string padding);
//gboolean update_lyrics_handler(gpointer data);
//
//void load_lyrics(gpointer track_location);
//
//const gchar* check_encoding(const gchar* str);
//
//#ifdef __cplusplus
//extern "C" {
//#endif
//
//GtkWidget *construct_lyricbar(const std::string bgcolor, GtkJustification just);
//
//// 导入外部函数
//extern  gboolean is_playing(gpointer track);
//extern  std::string get_artist(gpointer track);
//extern  std::string get_title(gpointer track);
//
//#ifdef __cplusplus
//}
//#endif
//
//#endif //UI_H
